package com.java.controller;

import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;

/**
 * description:描述
 * author:作者
 * time:2020/11/24 21:40
 */
@ControllerAdvice
public class GlobalExceptionHandler {

    /*@ExceptionHandler(Exception.class)
    public String handException(Exception ex){

        return "redirect:/pages/error/error.jsp";
    }*/
}
